<template>
  <div id="app">
      <router-view></router-view>
      <router-view name="footer"></router-view>
  </div>
</template>

<script>
</script>

<style lang="scss">
html,body,ul,li,h3,h1,h2,h4{
  margin: 0;padding: 0;
  list-style: none;
}
html{
  // 利用vw作为基准单位
  font-size: 26.666666666666668vw;
  height: 100%;
}
// 横屏处理
@media all and (orientation:landscape){
  html{font-size: 100px;}
}
body{
  // 防止字体变大
  font-size: 16px;
  height: 100%;
}
#app {
  display: flex;
  flex-direction: column;
  height: 100%;
  .box{
    flex: 1;
    overflow: auto;
    display: flex;
    flex-direction: column;
    .header{
      height: 0.46rem;
      text-align: center;
      font: 0.24rem/0.46rem "";
    }
    .content{
      overflow: auto;
      flex: 1;
    }
  }
}

#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
